/*
 * @Author: your name
 * @Date: 2021-01-26 15:25:14
 * @LastEditTime: 2023-01-06 17:07:36
 * @LastEditors: xuzp4
 * @Description: In User Settings Edit
 * @FilePath: \vue_demo\src\router\index.js
 */
import Vue from 'vue'
import Router from 'vue-router'
import Demo from '@/view/mountain/Demo.vue'
import Load from '@/view/load/index.vue'
import Load2 from '@/view/load/index2.vue'
import Weilan from '@/view/weilan/index.vue'
import Tupian from '@/view/tupian/index.vue'
import Lixian from '@/view/lixian/index.vue'
import Qiepian from '@/view/qiepian/index.vue'
import Video from '@/view/video/index.vue'
import Video2 from '@/view/video2/index.vue'
import Rtmp from '@/view/video2/rtmp.vue'
import Rtsp2flv2 from '@/view/video3/rtsp2flv2.vue'
import Rtsp2flv from '@/view/video3/index.vue'
import Video4 from '@/view/video3/rtsp2ws.vue'
import rtsp2hls from '@/view/video3/rtsp2hls.vue'
import Polyline from '@/view/polyline/index.vue'
import Upload from '@/view/upload/index.vue'
import Yang from '@/view/yanglegeyang/learn.vue'
import ThreeDemo from '@/view/threejs/lights.vue'
import TrackPoints from '@/view/trackPoints/index.vue'
import TrackPoints2 from '@/view/trackPoints/index2.vue'
import TrackPoints3 from '@/view/trackPoints/index3.vue'
import Pdf from '@/view/pdf/index.vue'
import Marker from '@/view/svgmarker/index.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      redirect:'/marker'
    },
    {
      path: '/pdf',
      name: 'Pdf',
      component: Pdf
    },
    {
      path: '/marker',
      name: 'Marker',
      component: Marker
    },
    {
      path: '/demo',
      name: 'Demo',
      component: Demo
    },
    {
      path: '/TrackPoints',
      name: 'TrackPoints',
      component: TrackPoints
    },
    {
      path: '/TrackPoints2',
      name: 'TrackPoints2',
      component: TrackPoints2
    },
    {
      path: '/TrackPoints3',
      name: 'TrackPoints3',
      component: TrackPoints3
    },
    {
      path: '/',
      name: 'Load',
      component: Load
    },
    {
      path: '/load2',
      name: 'Load2',
      component: Load2
    },
    {
      path: '/weilan',
      name: 'weilan',
      component: Weilan
    },
    {
      path: '/tupian',
      name: 'Tupian',
      component: Tupian
    },
    {
      path: '/lixian',
      name: 'Lixian',
      component: Lixian
    },
    {
      path: '/qiepian',
      name: 'qiepian',
      component: Qiepian
    },
    {
      path: '/video',
      name: 'video',
      component: Video
    },
    {
      path: '/video2',
      name: 'video2',
      component: Video2
    },
    {
      path: '/rtmp',
      name: 'rtmp',
      component: Rtmp
    },
    {
      path: '/Rtsp2flv2',
      name: 'Rtsp2flv2',
      component: Rtsp2flv2
    },
    {
      path: '/video4',
      name: 'video4',
      component: Video4
    },
    {
      path: '/rtsp2flv',
      name: 'rtsp2flv',
      component: Rtsp2flv
    },
    {
      path: '/rtsp2hls',
      name: 'rtsp2hls',
      component: rtsp2hls
    },
    {
      path: '/polyline',
      name: 'polyline',
      component: Polyline
    },
    {
      path: '/upload',
      name: 'upload',
      component: Upload
    },
    {
      path: '/Yang',
      name: 'Yang',
      component: Yang
    },
    {
      path:"/three",
      name:"threeDemo",
      component: ThreeDemo
    }
  ]
})
